<!-- BEGIN PAGE CONTENT-->
<div class="row">
    <div class="col-md-12 ">
        <!-- BEGIN Portlet PORTLET-->
        <div class="portlet solid blue">
            <div class="portlet-title">
                <div class="caption">
                    <i class="fa fa-gift"></i>欢迎，<?= htmlspecialchars($_user->name) ?>
                </div>
            </div>
            <div class="portlet-body">
                <form class="form-horizontal" role="form">
                    <div class="form-body">
                        <div class="form-group">
                            <label class="col-xs-3 control-label">登陆账号</label>
                            <div class="col-xs-3">
                                <p class="form-control-static"><?= htmlspecialchars($_user->account) ?></p>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-xs-3 control-label">用户名：</label>
                            <div class="col-xs-3">
                                <p class="form-control-static"><?= htmlspecialchars($_user->name) ?></p>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-xs-3 control-label">账户类型：</label>
                            <div class="col-xs-3">
                                <p class="form-control-static"><?= htmlspecialchars($roles[$_user->role_id]) ?></p>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-xs-3 control-label">所属管理组：</label>
                            <div class="col-xs-3">
                                <p class="form-control-static"><?=htmlspecialchars($groups[$_user->group_id]) ?></p>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-xs-3 control-label">当前IP</label>
                            <div class="col-xs-4">
                                <p class="form-control-static"><?= $this->input->ip_address() ?></p>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-xs-3 control-label">上次登录IP</label>
                            <div class="col-xs-4">
                                <p class="form-control-static"><?= htmlspecialchars($_user->last_login_ip) ?></p>
                            </div>
                            <div class="col-xs-4"></div>
                        </div>
                        <div class="form-group">
                            <label class="col-xs-3 control-label">上次登录时间</label>
                            <div class="col-xs-4">
                                <p class="form-control-static"><?= date('Y年m月d日 H点i分s秒', $_user->last_login_time) ?></p>
                            </div>
                            <div class="col-xs-4"></div>
                        </div>
                    </div>
                </form>
            </div>
        </div>
        <!-- END Portlet PORTLET-->
    </div>

</div>

<!-- END PAGE CONTENT-->
